package com.zatech.cgnci.project.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author EDY
 * @version 1.0
 * Create by 2024/12/18 17:40
 */
@Data
@ApiModel(value = "CgnciBusinessInsuranceNextCreateDTO")
public class CgnciBusinessInsuranceNextCreateDTO {

    @ApiModelProperty("录单类型(1-新保单,2-续保保单),码表值:recordeType")
    @NotBlank(message = "录单类型不能为空")
    private String projectType;

    @ApiModelProperty("项目id")
    @NotNull(message = "项目id不能为空")
    private Long projectId;

    @ApiModelProperty("保单id")
    private Long originalBusinessId;

}
